project('static lib', 'cpp')

current_dir = include_directories('.')
t2t = static_library('tedi2tex', 'tedi2tex.cpp', 'tedi2tex.h', include_directories : current_dir)

tedi2lang_dependency = dependency('tedi2lang', fallback : ['tedi2lang', 'tedi2lang_dependency'])

tedi2tex_dependency = declare_dependency(
   include_directories : [current_dir],
   link_with : [t2t],
   dependencies : [tedi2lang_dependency],
   sources : ['tedi2tex.cpp', 'tedi2tex.h'])